package com.yueyang.sojourn.server.common.baymax.web.result.exception;

import org.springframework.http.HttpStatus;

/**
 * 标准业务异常，对应Http 状态码： 417
 * 
 * @author huisman
 */
public class StandardBusinessException extends AbstractResultException {
  private static final long serialVersionUID = 1L;

  public StandardBusinessException(int code, String messsage) {
    super(code, messsage, HttpStatus.EXPECTATION_FAILED);
  }

  public StandardBusinessException(String messsage) {
    super(messsage, HttpStatus.EXPECTATION_FAILED);
  }

}
